public class MedicareEligibilityCalculatorDemo {

	public static void main(String[] args) {

		MedicareEligibilityCalculator calculator = new MedicareEligibilityCalculator();

		boolean isEligiblefor25inMI = calculator.isEligible(25, true, "MI");

		System.out.println(" Am I eligible with 25 in Michigan "
				+ isEligiblefor25inMI);

		boolean isEligiblefor45inTX = calculator.isEligible(45, false, "TX");

		System.out.println(" Am I eligible with 45 in Texas "
				+ isEligiblefor45inTX);

		boolean isEligiblefor65inHI = calculator.isEligible(65, false, "HI");

		System.out.println(" Am I eligible with 65 with no Pre-existing condition in Hawaii "
						+ isEligiblefor65inHI);
	}
}